import pymysql
import datetime

conn = pymysql.connect(host='localhost', user='root', password="123456", port=3306, db='db_employ')
cursor = conn.cursor()
sql = "select * from tb_employee where employID = 10002"
cursor.execute(sql)
result = cursor.fetchall()[0][-1].strftime('%Y%m%d')
print(result)

now = datetime.datetime.now().strftime('%Y%m%d')
print(now == result)


def abc(*args):
    return args


print(abc(*[1, 2, 3, 4, 5, 6, 7]))
